import { ajax } from '@/utils/request'
import '@/mock/famous/famous_doctor'
import '@/mock/famous/famous_kinds'

// 获取所有医生信息
interface IDoctor {
    kinds?:string
    evaluate?:string
    disease:string
}

// 获取医生列表
export function getDoctorList (data?:IDoctor){
    return ajax({
        url:'/getdoctorlist',
        method:'post',
        data
    })
}

// 获取科室分类
export function getDoctorKind(){
    return ajax({
        url:'/getdoctorkind'
    })
}

// 获取综合分类列表
export function getComprehensive(){
    return ajax({
        url:'/getcomprehensive'
    })
}

// 获取疾病列表
export function getDisease(){
    return ajax({
        url:'/getdisease'
    })
}